#include <gtest/gtest.h>  // googletest header file

#include "oosbs/student.h"

TEST(Student, should_introduce_student)
{
    int classNumber = 2;
    Student *zhangsan = (Student *)malloc(sizeof(Student));

    Student_Init(zhangsan, 18, "Zhangsan", 2);


    char expectIntroduceOf_Zhangsan[100] = "My name is Zhangsan. I am 18 years old. I am a student of class 2.";
    char introduceOf_Zhangsan[100];

    zhangsan->__Person.Introduce(zhangsan,introduceOf_Zhangsan);

    ASSERT_STREQ(expectIntroduceOf_Zhangsan, introduceOf_Zhangsan);
}
